package com.fen.testdemo.webservice;

import javax.jws.WebService;


/**
 * 天气查询的实现类
 *
 * @author Administrator
 */
@WebService
public class WeatherServiceImpl implements WeatherService {

    /**
     * 查询天气
     *
     * @param cityName 城市名
     * @return String
     */
    @Override
    public String queryWeather(String cityName) {
        System.out.println(cityName + "天气是：晴天");
        return "晴";
    }

}